﻿using System.Text.RegularExpressions;

namespace STF.Blog.WebApp.Tools
{
    public class DeleteHtmlTag
    {
        public static string DeleteTag(string inputStr)
        {
            var outStr = inputStr ?? "";
            Regex reg = new Regex(@"<[^>]+>|</[^>]+>");
            outStr = reg.Replace(outStr, "");
            return outStr;
        }
    }
}
